package com.rzj.sys_lab_assistant.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.sql.Timestamp;

/**
 * @program: sys_lab_assistant
 * @description: 管理员类
 * @author: 作者
 * @create: 2021-06-28 09:54
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("user_admin")
public class Admin {

    private String account; // 用户名

    private String password; // 密码

    private Timestamp createTime; // 创建时间

    private Timestamp modifyTime; // 更新时间

    public Admin(String account, String password) {
        this.account = account;
        this.password = password;
    }
}
